﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace VCN.App.DataTransferObjects
{
    public class ImageLogo:BasicObject
    {
        #region Constructor...
        public ImageLogo(string ip_name, string ip_link, string ip_image,
            int ip_type, bool ip_status, int ip_order)
        {
            _name = ip_name;
            _link = ip_link;
            _image = ip_image;
            _type = ip_type;
            _status = ip_status;
            _order = ip_order;            
        }

        public ImageLogo(int ip_id, string ip_name, string ip_link, string ip_image,
            int ip_type, bool ip_status, int ip_order)
            : this(ip_name, ip_link, ip_image,
                ip_type, ip_status, ip_order)
        {
            Id = ip_id;
        }

        public ImageLogo()
            : base()
        {
        }

        public ImageLogo(string ip_name)
        {
            _name = ip_name;            
        }
        #endregion

        #region Feilds...

        string _name;
        string _link;
        string _image;
        int _type;
        bool _status;
        int _order;



        #endregion

        #region Properties...

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        public string Link
        {
            get { return _link; }
            set { _link = value; }
        }
        public string Image
        {
            get { return _image; }
            set { _image = value; }
        }
        public int Type
        {
            get { return _type; }
            set { _type = value; }
        }
        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }
        public int Order
        {
            get { return _order; }
            set { _order = value; }
        }
        #endregion
    }
}
